package br.edu.ufcg.greengrid.model.job;

import br.edu.ufcg.greengrid.model.AbstractJobFactory;

public class JobWithCheckpointFactoryImpl extends AbstractJobFactory {

	public JobWithCheckpointFactoryImpl(long timeToOperationsFactor) {
		super(timeToOperationsFactor);
	}

	@Override
	public Job getJob(String id, long submitTime, long runtime) {

		return new JobWithCheckpoint(id, submitTime, runtime, this.timeToOperationsFactor);
	}

}
